package com.airy.highSpeed.dao.mysql;

import com.airy.highSpeed.entity.TrHourFlowEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ${comments}
 * 
 * @author dingyakun
 * @email 821041490@qq.com
 * @date 2020-12-15 13:21:16
 */
@Mapper
public interface TrHourFlowDao extends BaseMapper<TrHourFlowEntity> {

    List<TrHourFlowEntity> findAll();

    void insertTrHourFlow(@Param("trHourFlowEntity") TrHourFlowEntity trHourFlowEntity);

    void updateEtcFlowAndMtcFlowBySTARTTIMEAndSTATIONID(@Param("startTime")String startTime, @Param("tollStationId")String tollStationId, @Param("flage")Integer flage, @Param("etcFlow")Integer etcFlow, @Param("mtcFlow")Integer mtcFlow,@Param("insertTime")String insertTime);

}
